﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IterationLife.Datas;
using IterationLife.Domains.Sports.Dtos.SportReports;
using IterationLife.Domains.Sports.Services;

namespace IterationLife.Mobile.AppServices.Services.Football.Implements
{
    public class SportService : ISportService
    {
        private readonly IApplicationUnitOfWork _unitOfWork;
        private readonly ISportDataManager _sportDataManager;

        public SportService(IApplicationUnitOfWork unitOfWork, ISportDataManager sportDataManager)
        {
            _unitOfWork = unitOfWork;
            _sportDataManager = sportDataManager;
        }


        /// <summary>
        /// 获取用户的锻炼时间线
        /// </summary>
        public List<SportTimeLineData> GetTimeLineDatas(string uid)
        {
            return _sportDataManager.GetTimeLineDatas(uid);
        }
    }
}
